package fire.pritise.day05;

import java.util.Arrays;

public class list_demo02 {
	public static void main(String[] args) {
		int[] aa = new int[6];
		for (int i = 0; i < aa.length; i++) {
			aa[i] = i;
			System.out.println(aa[i]);
		}
		int[] bb = Arrays.copyOf(aa, 3);
		for (int i = 0; i < bb.length; i++) {
			System.out.println(bb[i]);
		}
	}

}
